-
Home
-
ElasticPress
-
4.5.2
-
Code
-
Classes
- RelatedPosts
| Total Complexity |
28 |
| Dependencies |
3 |
| Dependents |
1 |
| Total lines |
335 |
| Lines of code |
173 |
| Logical lines of code |
74 |
| Comment lines |
122 |
| Methods |
12 |
| Properties |
0 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| formatted_args() |
A |
48 |
9 |
32 |
| render_block() |
S |
50 |
5 |
29 |
| output_endpoint() |
S |
48 |
4 |
31 |
| setup_endpoint() |
S |
55 |
1 |
22 |
| register_block() |
S |
58 |
1 |
16 |
| find_related() |
S |
68 |
2 |
7 |
| __construct() |
S |
66 |
1 |
8 |
| get_related_query() |
S |
65 |
1 |
9 |
| setup() |
S |
67 |
1 |
7 |
| register_widget() |
S |
80 |
1 |
3 |
| hide_legacy_widget() |
S |
77 |
1 |
4 |
| output_feature_box_long() |
S |
74 |
1 |
5 |